/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.oai.metadataRepository.cli;

import cz.mzk.oai.metadataRepository.harvest.tei.svn.TeiSvnHarvester;
import cz.mzk.oai.metadataRepository.repository.Repository;
import java.util.Properties;

/**
 *
 * @author Martin Řehánek (rehan at mzk.cz)
 */
public class HarvestTeiFromLatestRevisionAction extends AbstractHarvestTeiAction {

    public HarvestTeiFromLatestRevisionAction(Repository repository, Properties properties) {
        super(repository, properties);
    }

    @Override
    public void run() throws Exception {
        TeiSvnHarvester harvester = new TeiSvnHarvester(repository, url, mappingFile);
        harvester.harvestLatestRevision();
    }
}
